package com.hzhc.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzhc.dto.BaseDto;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 散改集回重导入vo
 * </p>
 *
 * @author 功不唐捐
 * @since 2024-09-02
 */
@Data
public class YwOrderSgjVo extends BaseDto implements Serializable {
    /**
     * 集装箱号
     */
    @Excel(name = "集装箱1")
    private String cntrNo;
    /**
     * 集装箱号
     */
    @Excel(name = "集装箱2")
    private String cntrNoB;

    @Excel(name = "船名")
    private String shipName;//船名


    @Excel(name = "车牌号")
    private String truckNo;//车牌号

    /**
     * 货名
     */
    @Excel(name = "货名")
    private String goodsName;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;


    /**
     * 船收货单位
     */
    @Excel(name = "收货单位")
    private String shipSh;

    /**
     * 船发货单位
     */
    @Excel(name = "发货单位")
    private String shipFh;

    /**
     * 空重(千克)
     */
    @Excel(name = "空重(千克)")
    private String kzWeight;
    /**
     * 毛重(千克)
     */
    @Excel(name = "毛重(千克)")
    private String mzWeight;
    /**
     * 净重(千克)
     */
    @Excel(name = "净重(千克)")
    private String jzWeight;

    /**
     * 皮重过磅时间
     */
    @Excel(name = "皮重过磅时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime pzGateTime;

    /**
     * 毛重过磅时间
     */
    @Excel(name = "毛重过磅时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime mzGateTime;
    /**
     * 卸货港
     */
    @Excel(name = "到达港")
    private String xport;

    /**
     * 导入错误信息
     */
    private String errorInfo;
}
